<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户新增</title>
    <link rel="stylesheet" type="text/css" href="../../../base/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="../../../base/css/global.css">
    <script type="application/javascript" src="../../../base/plugins/layui/layui.js"></script>
    <script src="../../../base/js/jquery-3.3.1.min.js"></script>
    <script src="../../../base/js/global.js"></script>
    <script src="../../../base/js/requestUtil.js"></script>
    <script src="../../../base/js/baseUtil.js"></script>
</head>
<body>


    <form class="layui-form site-title ">
        <fieldset class="">
            <legend>新增用户信息</legend>
        <div class="layui-form-item">
            <label class="layui-form-label">头像</label>
            <div class="layui-input-block">
                <img src="../../../images/tx.png" width="50px" height="50px">
                <input class="" placeholder="请选择头像" type="file">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">*账号</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入账号" type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">*姓名</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入姓名" type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">手机</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请输入手机号码" type="text">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" checked value="0" title="保密">
                <input name="sex" value="1" type="radio"
                       title="男">
                <input name="sex"
                       value="2"
                       type="radio"
                       title="女">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">出生日期</label>
            <div class="layui-input-block">
                <input class="layui-input" placeholder="请选择出生日期" type="text" id="birthday_user">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属角色</label>
            <div class="layui-input-block">
                <input type="checkbox" title="管理员">
                <input type="checkbox" title="普通用户">
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" placeholder="请输入备注"></textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" type="button">编辑</button>

                <button class="layui-btn layui-btn-normal" type="button">修改</button>
                <button class="layui-btn layui-btn-primary" type="button">取消</button>
                <button class="layui-btn layui-btn-danger" type="button" id="btnClose">关闭</button>
            </div>
        </div>
        </fieldset>
    </form>

</body>
<script>
    layui.use(["form","laydate"], function () {
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render({
            elem: '#birthday_user' //指定元素
        });
    });
</script>
</html>